package com.xueyi.system.spection.service.impl;

import com.xueyi.system.spection.domain.query.BaseShedSpectionQuery;
import com.xueyi.system.spection.domain.dto.BaseShedSpectionDto;
import com.xueyi.system.spection.service.IBaseShedSpectionService;
import com.xueyi.system.spection.manager.IBaseShedSpectionManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 库房检查管理 服务层处理
 *
 * @author yanhe
 */
@Service
public class BaseShedSpectionServiceImpl extends BaseServiceImpl<BaseShedSpectionQuery, BaseShedSpectionDto, IBaseShedSpectionManager> implements IBaseShedSpectionService {

    /**
     * 查询库房检查对象列表 | 数据权限 | 附加数据
     *
     * @param baseShedSpection 库房检查对象
     * @return 库房检查对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseShedSpectionMapper"})
    public List<BaseShedSpectionDto> selectListScope(BaseShedSpectionQuery baseShedSpection) {
        return baseManager.selectListExtra(baseShedSpection);
    }

}